#include <iostream>
#include <queue>
#include <map>
#include <unordered_map>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <cstring>
#include <set>
#include <unordered_set>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
int main()
{
	ll sum=0;
	ll num;
	cin>>num;
	ll r=1;
	int i=1;
	while(sum<num)
	{
		r=r*i;
		sum+=r;
		i++;
	}
	cout<<"m<="<<i-2;

	return 0;
}

